package com.bowen.demo.demo003.service;

/**
 * <h3>springboot-study</h3>
 * <p>邮件service接口</p>
 * @author : 公众号【猿码天地】
 * @date : 2020-07-17 21:37
 **/
public interface MailService {

	/**
	 * 简单邮件
	 * @param to
	 * @param subject
	 * @param content
	 */
    public void sendSimpleMail(String to, String subject, String content);

	/**
	 * html邮件
	 * @param to
	 * @param subject
	 * @param content
	 */
    public void sendHtmlMail(String to, String subject, String content);

	/**
	 * 附件邮件
	 * @param to
	 * @param subject
	 * @param content
	 * @param filePath
	 */
    public void sendAttachmentsMail(String to, String subject, String content, String filePath);

	/**
	 * 正文中有静态资源（图片）的邮件
	 * @param to
	 * @param subject
	 * @param content
	 * @param rscPath
	 * @param rscId
	 */
    public void sendInlineResourceMail(String to, String subject, String content, String rscPath, String rscId);

}
